﻿using AutoMapper;
using DFGK_WMS.Context;
using DFGK_WMS.IRepository;
using DFGK_WMS.Model.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Repository
{
    public class Conf_materialRepository : BaseRepository<Conf_material>, IConf_materialRepository
    {
        public Conf_materialRepository(DFGK_DB context, IMapper mapper) : base(context, mapper)
        {
        }

        public List<Conf_material> GetConf_materialList()
        {
            return Context.conf_Materials.AsNoTracking().ToList();
        }
    }
}
